package com.my.vote.repository.param;

import java.util.List;

import com.my.vote.entity.QuestionType;

/***
 * 投票问题
 * 
 * @author chenliang
 *
 */
public class VoteQuestionSVO {

	private String id;

	/** 投票主题ID */
	private String subjectId;

	/** 标题 */
	private String title;

	/** 说明 */
	private String description;

	/** 类型 */
	private QuestionType type = QuestionType.Single;

	/** 删除标记 */
	private boolean delFlag;

	/** 序号 */
	private int orderNum;

	/** 选项 */
	private List<VoteOptionSVO> options;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(String subjectId) {
		this.subjectId = subjectId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public QuestionType getType() {
		return type;
	}

	public void setType(QuestionType type) {
		this.type = type;
	}

	public boolean isDelFlag() {
		return delFlag;
	}

	public void setDelFlag(boolean delFlag) {
		this.delFlag = delFlag;
	}

	public int getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public List<VoteOptionSVO> getOptions() {
		return options;
	}

	public void setOptions(List<VoteOptionSVO> options) {
		this.options = options;
	}

}
